package com.yuchuang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchuang.base.PageInfo;
import com.yuchuang.model.User;
import com.yuchuang.model.vo.UserVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
    User getUser(Map<String,Object> params);
    List<User> queryAll(HttpServletRequest request);
    PageInfo selectPageVo(UserVo userVo);
    int insert(User user);
    int update(Map<String,Object> params);
    int delete(Map<String,Object> params);
}
